/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.bank.repository;

import java.util.List;

import iaas.repository.BaseRepository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.wealth.bank.entity.ArticleCategory;

/**
 * @author chan
 * @version 1.0
 * @since 1.0
 */
 
@Repository
public interface ArticleCategoryDao extends BaseRepository<ArticleCategory, Long> ,JpaSpecificationExecutor<ArticleCategory>{

	/**
	 * 根据分类状态查询
	 * @param status
	 * @return
	 */
	public  List<ArticleCategory> findByCorpIdAndStatus(Long corpId,Integer status);
}
